import React from 'react';
import {useLocation,useParams} from 'react-router-dom'
const News = () => {
    const loc = useLocation()
    console.log(loc);
    return (
        <div>
            <p>新闻页面</p>
        </div>
    );
}

export default News;
